package com.demo.component;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Controller;

/**
 * @program: spring-demo2
 * @author: JCM
 * @create: 2023-06-12 09:15
 * @description:
 **/
@Controller // 将对象存储到 Spring 中
public class ArticleController {
    public void saHi() {
        System.out.println("hello ArticleController");
    }

}
